Implementing the MyFEM Embedded Domain-specific Language

نویسنده

  • Jonathan Riehl
چکیده

Mython, an extensible variant of the Python programming language, exposes the tools and libraries of its implementation to users. This kind of reflection allows domain-specific language implementations to reuse parts of Mython. This paper looks at the MyFEM domain-specific language, showing how MyFEM reuses the tools of Mython. MyFEM is a language for describing partialdifferential equations and boundary conditions as a part of the finite element method. Using MyFEM as a high-level interface, users can generate fast, scalable scientific codes using very compact source programs. This paper also discusses plans for further automation, where MyFEM and Mython act as a seamless front end. These plans involve not just hiding the target code from the user, but also any necessary build details, including linkage and foreign function interfaces.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Strategies and Tradeoffs in Designing and Implementing Embedded DSLs

Domain Specific Language (DSL) is an elegant software engineering solution to fairly complex problems in specific subject areas. While DSLs provide apt solutions to many domain problems, developing a DSL from the scratch is a laborious task that consumes considerable amount of money and time. Recently embedding has become a widely used methodology to develop DSLs. Embedded DSLs (EDSLs) reduces ...

متن کامل

Embedded Software Development with Projectional Language Workbenches

This paper describes a novel approach to embedded software development. Instead of using a combination of C code and modeling tools, we propose an approach where modeling and programming is unified using projectional language workbenches. These allow the incremental, domainspecific extension of C and a seamless integration between the various concerns of an embedded system. The paper does not p...

متن کامل

Designing Syntax Embeddings and Assimilations for Language Libraries

Language libraries extend regular libraries with domain-specific notation. More precisely, a language library is a combination of a domain-specific language embedded in the general-purpose host language, a regular library implementing the underlying functionality, and an assimilation transformation that maps embedded DSL fragments to host language code. While the basic architecture for realizin...

متن کامل

Using UML for Domain-Specific Component Models

Over the recent years there is a tendency for using domain-specific languages which enable expressing design solutions in the idiom and level of abstraction appropriate for a specific problem domain. While this approach enables an efficient and accurate design, it suffers from problems of standardization, portability and transformation between the models. This paper addresses a challenge of tai...

متن کامل

Experience with Safe Dynamic Reconfigurations in Component-Based Embedded Systems

Supporting dynamic reconfiguration is required even in highly constrained embedded systems, to allow patches and updates to the embedded systems software, and to allow adaptations to changes in environmental and operating conditions without service interruption. Dynamic reconfiguration, however, is a complex and error prone process. In this paper we report our experience in implementing safe dy...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009